package androidx.appcompat.app;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import androidx.appcompat.app.AlertController.RecycleListView;
import androidx.appcompat.app.AlertController.a;

class AlertController$AlertParams$1 extends ArrayAdapter<CharSequence> {
    final /* synthetic */ a this$0;
    final /* synthetic */ RecycleListView val$listView;

    AlertController$AlertParams$1(a aVar, Context context, int i, int i2, CharSequence[] charSequenceArr, RecycleListView recycleListView) {
        this.this$0 = aVar;
        this.val$listView = recycleListView;
        super(context, i, i2, charSequenceArr);
    }

    public View getView(int i, View view, ViewGroup viewGroup) {
        View view2 = super.getView(i, view, viewGroup);
        if (this.this$0.ˌ != null && this.this$0.ˌ[i]) {
            this.val$listView.setItemChecked(i, true);
        }
        return view2;
    }
}
